<template>
  <el-container style="height: 100vh">
    <el-aside width="200px" class="menu-aside">
      <el-menu router default-active="/map">
        <el-menu-item index="/map">地图浏览</el-menu-item>
        <el-menu-item index="/route">路线规划</el-menu-item>
      </el-menu>
    </el-aside>
    <el-container>
      <el-header class="app-header">旅游推荐系统</el-header>
      <el-main>
        <router-view />
      </el-main>
    </el-container>
  </el-container>
</template>

<script setup lang="ts"></script>

<style scoped>
.menu-aside {
  background-color: #f5f7fa;
  border-right: 1px solid #e4e7ed;
}
.app-header {
  background-color: #409eff;
  color: white;
  padding-left: 20px;
  line-height: 48px;
  font-size: 18px;
}
</style>
